// src/api/api.ts
import { busApi } from './module/BusApi.ts';
import { flightApi } from './module/FlightApi.ts';
import { hotelApi } from './module/HotelApi.ts';
import { customerApi } from './module/CustomerApi.ts';
import { reservationApi } from './module/ReservationApi.ts';
import { travelRouteApi } from "./module/TravelRouteApi.ts";
// 主API聚合类
class TravelApiClient {
    // 巴士相关API
    readonly bus = busApi;
    readonly flight = flightApi;
    readonly hotel = hotelApi;
    readonly customer = customerApi;
    readonly reservation = reservationApi;
    readonly route = travelRouteApi;

    constructor() {
        // 可以在这里进行一些全局初始化
    }
}

// 创建单例实例
export const api = new TravelApiClient();

// 默认导出
export default api;